package com.sun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class item {
    private int id;
    private String name;//商品名
    private String inPrice;// 进价
    private String outPrice;//卖价
    private String number;//数量
    @DateTimeFormat( pattern="yyyy-MM-dd")
    private Date time;

}
